Release 10.1A: OpenEdge Development:
Messaging and ESB


Sending messages to a queue

In the PTP domain, applications send messages to a queue. To send a message to a queue with Java–JMS, an application obtains a handle to a queue object, creates a Queue Sender object, and uses the queue sender to send messages. Sending a message to a queue with the 4GL-JMS API involves these general steps:

  1. The application calls the sendToQueue procedure in the ptpsession.p or jmssession.p object.
  2. The application specifies the queue name as an INPUT parameter of type CHARACTER.
  3. The application can set other sending parameters (such as persistency, timeToLive, and priority) in the Session object as a default for all the messages it sends, or it can set these parameters at each sendToQueue procedure call.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095